package com.winhxd.b2c.common.domain.customer.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.winhxd.b2c.common.domain.order.vo.OrderUsersLevelProfitVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;


@Data
@ApiModel("分销商信息")
public class CustomerDistributorVO {

    @ApiModelProperty("主键")
    private Long id;

    @ApiModelProperty("用户id")
    private Long customerId;

    @ApiModelProperty("用户头像")
    private String headImg;

    @ApiModelProperty("会员昵称")
    private String wechatName;

    @ApiModelProperty("用户名")
    private String customerMobile;

    @ApiModelProperty("姓名")
    private String nickName;

    @ApiModelProperty("渠道名称")
    private String channelName;

    @ApiModelProperty("会员等级 1:一级分销商 2：二级分销商 0：会员")
    private Integer level;

    @ApiModelProperty("总收入:总提现金额")
    private BigDecimal totalIncome;

    @ApiModelProperty("积分")
    private Integer integral;

    @ApiModelProperty("用户状态1激活,0冻结")
    private Integer status;

    @ApiModelProperty("创建时间")
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:dd")
    private Date created;

    @ApiModelProperty("更新时间")
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:dd")
    private Date updated;

    @ApiModelProperty(value = "访问时间")
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:dd")
    private Date accessTime;

    @ApiModelProperty("会员当天的订单收益列表")
    List<OrderUsersLevelProfitVO> list;

    @ApiModelProperty(value = "绑定时间")
    private String bindTime;

}
